package com.zhentao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.user.Role;
import com.zhentao.user.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author lenovo
 * @description 针对表【tb_user】的数据库操作Mapper
 * @createDate 2024-12-02 21:22:33
 * @Entity com.zhentao.user.User
 */
public interface UserMapper extends BaseMapper<User> {

    Role selectByRoleName(@Param("rId") Integer rId,@Param("phone") String phone);

    Role selectByUsername(String username);
}




